package com.twu.biblioteca.ui;

import com.twu.biblioteca.data.BibliotecaItemDAO;
import com.twu.biblioteca.data.BookDAO;
import com.twu.biblioteca.data.User;

/**
 * Created by florian on 5/01/14.
 */
public class BookCheckoutController extends CheckoutController {

    public BookCheckoutController(ScreenControllerFactory controllerFactory, BibliotecaUI ui, BookDAO dao, User user) {
        super(controllerFactory, ui, dao,user);
    }

    @Override
    protected void showSuccessfulCheckoutMessage() {
        ui.showSuccessfulCheckoutBookMessage();
    }

    @Override
    protected void showUnsuccessfulCheckoutMessage() {
        ui.showUnsuccessfulCheckoutBookMessage();
    }

    @Override
    protected void showUsage() {
        ui.showBookCheckoutMessage();
    }
}
